package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    @RequestMapping(path = {"/","login"})
    public String tologin(){
        return "login";
    }

    @RequestMapping(path = {"index"})
    public String toIndex(){
        return "admin/index";
    }
}
